<%--
  Created by IntelliJ IDEA.
  User: 月影
  Date: 2020/10/18
  Time: 19:52
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<%
    String path=request.getContextPath();
    String basepath=request.getScheme();
%>
<head>
    <meta charset="utf-8" />
    <title>登录</title>
    <link rel="stylesheet" type="text/css" href="../../main/webapp/static/css2/test01.css">

</head>
<body>


<%--<form action="${pageContext.request.contextPath}/user/login" method="post">--%>
<%--    账号：<input type="text" name="userID" placeholder="请输入账号"/>--%>
<%--    密码：<input type="password" name="password" placeholder="请输入密码"/>--%>
<%--    <input type="submit" value="登录" /></td>--%>
<%--</form>--%>

<div class="wrap">
    <div class="container">
        <h1 style="color: white; margin: 0; text-align: center">Sign in</h1>
        <form action="${pageContext.request.contextPath}/user/login" method="post">
            <label><input type="text" name="userID" placeholder="请输入账号"/></label>
            <label><input type="password" name="password" placeholder="请输入密码"/></label>
            <input type="submit" value="登录"/>
            <p class="change_link" style="text-align: center">
                <span class="text">还没有账号?</span>
                <a href="${pageContext.request.contextPath}/user/toregister" class="to_login">注册</a>
            </p>
        </form>
    </div>

</div>
</body>
</html>
